package com.apes.enquiry.supplier.santouliubi.repository;

import com.alibaba.fastjson.JSONObject;
import com.apes.enquiry.supplier.santouliubi.model.SantouOrder;
import com.apes.framework.jpa.repository.CustomRepository;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * 类描述：
 *
 * @ClassName ShopManagementRepository
 * @Description 描述
 * @Author wushilong
 * @Date 2022/12/13 19:14
 * @Version 1.0
 */
public interface SantouOrderRepository extends CustomRepository<SantouOrder, String> {

    List<SantouOrder> findBySantouIdAndRelatedNumberOrderByOrderNumberDesc(@Param("santou") String santou, @Param("relatedNumber") String relatedNumber);

    SantouOrder findByOrderNumber(@Param("orderNumber") String orderNumber);
}
